package com.yt.server.api.comm;

import java.io.Serializable;

import com.yt.server.api.IConnection;

public interface ISession extends Serializable {
	
	public static final String SESSION_ID = "session.id";
	
	public static final String SESSION_USER_ID = "session.user.id";
	
	public static final String SESSION_KEY = "session.key";

	public static final String SESSION_CLIENT_ID = "client.id";

	public static final String SESSION_HANDSHAKE = "hand.shake";

	public long getCreated();

	public String getSessionId();
	
	public boolean isActive();
	
	public void end();
	
	public IConnection getConnection();
	
	public String getClientId();
	
	public String getDestinationDirectory();

	public void setDestinationDirectory(String destinationDirectory);
}
